#include <stdio.h>
int function1 (int a);//prototype
int main (void)
{
	int e, iReturn;
	printf ("Please input an integer:\n");
	scanf("%d", &e);
	printf ("\nIn main (before the call to function1):\n");
	printf (" e = %d\n", e);
	iReturn = function1 (e);
	printf ("After returning to main:\n");
	printf (" e = %d \n Returned value = %d", e, iReturn);
}

int function1 (int a)
{
	int e = 20;
	printf ("In function1:\n e = %d\n a = %d \n", e, a);
	if (a >= 1)
	{
		return (1);
	}
	else
	{
		return (0);
	}
}

